@echo off
REM Run this file to build the project outside of the IDE.
REM WARNING: if using a different machine, copy the .rsp files together with this script.
echo dma.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Core/Src/dma.gcc.rsp" || exit 1
echo gpio.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Core/Src/gpio.gcc.rsp" || exit 1
echo i2c.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Core/Src/i2c.gcc.rsp" || exit 1
echo main.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Core/Src/main.gcc.rsp" || exit 1
echo stm32f1xx_hal_msp.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Core/Src/stm32f1xx_hal_msp.gcc.rsp" || exit 1
echo stm32f1xx_it.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Core/Src/stm32f1xx_it.gcc.rsp" || exit 1
echo syscalls.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Core/Src/syscalls.gcc.rsp" || exit 1
echo sysmem.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Core/Src/sysmem.gcc.rsp" || exit 1
echo system_stm32f1xx.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Core/Src/system_stm32f1xx.gcc.rsp" || exit 1
echo tim.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Core/Src/tim.gcc.rsp" || exit 1
echo usart.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Core/Src/usart.gcc.rsp" || exit 1
echo elog_port.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/EasyLogger/Port/elog_port.gcc.rsp" || exit 1
echo elog.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/EasyLogger/Src/elog.gcc.rsp" || exit 1
echo elog_async.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/EasyLogger/Src/elog_async.gcc.rsp" || exit 1
echo elog_buf.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/EasyLogger/Src/elog_buf.gcc.rsp" || exit 1
echo elog_utils.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/EasyLogger/Src/elog_utils.gcc.rsp" || exit 1
echo nnom_local.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/NNOM_Lib/Src/backends/nnom_local.gcc.rsp" || exit 1
echo nnom_local_q15.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/NNOM_Lib/Src/backends/nnom_local_q15.gcc.rsp" || exit 1
echo nnom.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/NNOM_Lib/Src/core/nnom.gcc.rsp" || exit 1
echo nnom_layers.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/NNOM_Lib/Src/core/nnom_layers.gcc.rsp" || exit 1
echo nnom_tensor.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/NNOM_Lib/Src/core/nnom_tensor.gcc.rsp" || exit 1
echo nnom_utils.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/NNOM_Lib/Src/core/nnom_utils.gcc.rsp" || exit 1
echo nnom_activation.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/NNOM_Lib/Src/layers/nnom_activation.gcc.rsp" || exit 1
echo nnom_avgpool.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/NNOM_Lib/Src/layers/nnom_avgpool.gcc.rsp" || exit 1
echo nnom_baselayer.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/NNOM_Lib/Src/layers/nnom_baselayer.gcc.rsp" || exit 1
echo nnom_concat.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/NNOM_Lib/Src/layers/nnom_concat.gcc.rsp" || exit 1
echo nnom_conv2d.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/NNOM_Lib/Src/layers/nnom_conv2d.gcc.rsp" || exit 1
echo nnom_conv2d_trans.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/NNOM_Lib/Src/layers/nnom_conv2d_trans.gcc.rsp" || exit 1
echo nnom_cropping.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/NNOM_Lib/Src/layers/nnom_cropping.gcc.rsp" || exit 1
echo nnom_dense.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/NNOM_Lib/Src/layers/nnom_dense.gcc.rsp" || exit 1
echo nnom_dw_conv2d.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/NNOM_Lib/Src/layers/nnom_dw_conv2d.gcc.rsp" || exit 1
echo nnom_flatten.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/NNOM_Lib/Src/layers/nnom_flatten.gcc.rsp" || exit 1
echo nnom_global_pool.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/NNOM_Lib/Src/layers/nnom_global_pool.gcc.rsp" || exit 1
echo nnom_gru_cell.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/NNOM_Lib/Src/layers/nnom_gru_cell.gcc.rsp" || exit 1
echo nnom_input.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/NNOM_Lib/Src/layers/nnom_input.gcc.rsp" || exit 1
echo nnom_lambda.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/NNOM_Lib/Src/layers/nnom_lambda.gcc.rsp" || exit 1
echo nnom_lstm_cell.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/NNOM_Lib/Src/layers/nnom_lstm_cell.gcc.rsp" || exit 1
echo nnom_matrix.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/NNOM_Lib/Src/layers/nnom_matrix.gcc.rsp" || exit 1
echo nnom_maxpool.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/NNOM_Lib/Src/layers/nnom_maxpool.gcc.rsp" || exit 1
echo nnom_output.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/NNOM_Lib/Src/layers/nnom_output.gcc.rsp" || exit 1
echo nnom_reshape.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/NNOM_Lib/Src/layers/nnom_reshape.gcc.rsp" || exit 1
echo nnom_rnn.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/NNOM_Lib/Src/layers/nnom_rnn.gcc.rsp" || exit 1
echo nnom_simple_cell.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/NNOM_Lib/Src/layers/nnom_simple_cell.gcc.rsp" || exit 1
echo nnom_softmax.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/NNOM_Lib/Src/layers/nnom_softmax.gcc.rsp" || exit 1
echo nnom_sumpool.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/NNOM_Lib/Src/layers/nnom_sumpool.gcc.rsp" || exit 1
echo nnom_upsample.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/NNOM_Lib/Src/layers/nnom_upsample.gcc.rsp" || exit 1
echo nnom_zero_padding.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/NNOM_Lib/Src/layers/nnom_zero_padding.gcc.rsp" || exit 1
echo stm32f1xx_hal.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.gcc.rsp" || exit 1
echo stm32f1xx_hal_cortex.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.gcc.rsp" || exit 1
echo stm32f1xx_hal_dma.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.gcc.rsp" || exit 1
echo stm32f1xx_hal_exti.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.gcc.rsp" || exit 1
echo stm32f1xx_hal_flash.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.gcc.rsp" || exit 1
echo stm32f1xx_hal_flash_ex.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.gcc.rsp" || exit 1
echo stm32f1xx_hal_gpio.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.gcc.rsp" || exit 1
echo stm32f1xx_hal_gpio_ex.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.gcc.rsp" || exit 1
echo stm32f1xx_hal_i2c.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.gcc.rsp" || exit 1
echo stm32f1xx_hal_pwr.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.gcc.rsp" || exit 1
echo stm32f1xx_hal_rcc.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.gcc.rsp" || exit 1
echo stm32f1xx_hal_rcc_ex.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.gcc.rsp" || exit 1
echo stm32f1xx_hal_tim.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.gcc.rsp" || exit 1
echo stm32f1xx_hal_tim_ex.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.gcc.rsp" || exit 1
echo stm32f1xx_hal_uart.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.gcc.rsp" || exit 1
echo button_handlers.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/TYMCU_F103/Src/button_handlers.gcc.rsp" || exit 1
echo cJSON.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/TYMCU_F103/Src/cJSON.gcc.rsp" || exit 1
echo cJSON_Utils.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/TYMCU_F103/Src/cJSON_Utils.gcc.rsp" || exit 1
echo device_manager.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/TYMCU_F103/Src/device_manager.gcc.rsp" || exit 1
echo ec800_handlers.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/TYMCU_F103/Src/ec800_handlers.gcc.rsp" || exit 1
echo gps.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/TYMCU_F103/Src/gps.gcc.rsp" || exit 1
echo dbs_handlers.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/TYMCU_F103/Src/dbs_handlers.gcc.rsp" || exit 1
echo gy906.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/TYMCU_F103/Src/gy906.gcc.rsp" || exit 1
echo ina219.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/TYMCU_F103/Src/ina219.gcc.rsp" || exit 1
echo inv_mpu.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/TYMCU_F103/Src/inv_mpu.gcc.rsp" || exit 1
echo inv_mpu_dmp_motion_driver.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/TYMCU_F103/Src/inv_mpu_dmp_motion_driver.gcc.rsp" || exit 1
echo mpu6050.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/TYMCU_F103/Src/mpu6050.gcc.rsp" || exit 1
echo multi_button.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/TYMCU_F103/Src/multi_button.gcc.rsp" || exit 1
echo nnom_handlers.c
C:\SysGCC\arm-eabi\bin\arm-none-eabi-gcc.exe @"VisualGDB/Debug/Drivers/TYMCU_F103/Src/nnom_handlers.gcc.rsp" || exit 1
echo startup_stm32f103vetx.S
C:\SysGCC\arm-eabi\bin\arm-none-eabi-g++.exe @"VisualGDB/Debug/Core/Startup/startup_stm32f103vetx.gcc.rsp" || exit 1
echo Linking VisualGDB/Debug/BeiDouCup_IDE...
C:\SysGCC\arm-eabi\bin\arm-none-eabi-g++.exe @VisualGDB/Debug/BeiDouCup_IDE.link.rsp || exit 1
C:\SysGCC\arm-eabi\bin\arm-none-eabi-objcopy.exe @VisualGDB/Debug/BeiDouCup_IDE.mkbin.rsp || exit 1
